package com.sm.tool.entity.po;

import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
public class Activity {

    /**
     * CREATE TABLE `sm_activity` (
     *   `id` bigint(20) NOT NULL,
     *   `activity_name` varchar(36) NOT NULL COMMENT '活动名称',
     *   `start_time` datetime NOT NULL COMMENT '活动开始时间',
     *   `end_time` datetime NOT NULL COMMENT '活动结束时间',
     *   `status` smallint(1) NOT NULL COMMENT '0下线，1上线',
     *   `crate_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
     *   PRIMARY KEY (`id`)
     * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
     */

    private Long id;

    private String activityName;

    private Date startTime;

    private Date endTime;

    private Integer status;


}
